package com.heima.admin.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 频道信息表
 * </p>
 *
 * @author HM
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AdChannel对象", description = "频道信息表")
public class AdChannel implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "频道名称")
    private String name;

    @ApiModelProperty(value = "频道描述")
    private String description;

    @ApiModelProperty(value = "是否默认频道")
    private Boolean isDefault;

    @ApiModelProperty(value = "是否启用 0- 不启用 1-启用")
    private Boolean status;

    @ApiModelProperty(value = "默认排序")
    private Integer ord;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;


}
